package com.qf.entity;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import javax.xml.crypto.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Orders 实体类
 */
public class Orders {

    private Integer oId;

    private String oNo;

    private BigDecimal oGoodPrice;

    private Integer oNum;
    /**
     * 0表示未支付,1表示已支付, 2表示取消,3表示过期,4表示申请退款状态,5表示退款中,6退款成功,7已完成, 8发货中
     */
    private Integer oStatus;
    /**
     * 0待评论 ， 1表示已评论
     */
    private Integer oAppraiseStatus;
    /**
     * 订单所属的用户
     */
    private Integer oUserId;
    /**
     * 订单创建日期
     */
    private Date oCreateTime;
    /**
     * 付款日期
     */
    private Date oPayTime;
    /**
     * 商品iD
     */
    private String oGoodId;
    /**
     * 商品的图片
     */
    private String oGoodImg;
    /**
     * 商品的描述信息
     */
    private String oGoodTitle;

    public Orders() {
    }

    public Orders(Integer oId, String oNo, BigDecimal oGoodPrice, Integer oNum, Integer oStatus, Integer oAppraiseStatus, Integer oUserId, Date oCreateTime, Date oPayTime, String oGoodId, String oGoodImg, String oGoodTitle) {
        this.oId = oId;
        this.oNo = oNo;
        this.oGoodPrice = oGoodPrice;
        this.oNum = oNum;
        this.oStatus = oStatus;
        this.oAppraiseStatus = oAppraiseStatus;
        this.oUserId = oUserId;
        this.oCreateTime = oCreateTime;
        this.oPayTime = oPayTime;
        this.oGoodId = oGoodId;
        this.oGoodImg = oGoodImg;
        this.oGoodTitle = oGoodTitle;
    }

    public Integer getoId() {
        return oId;
    }

    public void setoId(Integer oId) {
        this.oId = oId;
    }

    public String getoNo() {
        return oNo;
    }

    public void setoNo(String oNo) {
        this.oNo = oNo;
    }

    public BigDecimal getoGoodPrice() {
        return oGoodPrice;
    }

    public void setoGoodPrice(BigDecimal oGoodPrice) {
        this.oGoodPrice = oGoodPrice;
    }

    public Integer getoNum() {
        return oNum;
    }

    public void setoNum(Integer oNum) {
        this.oNum = oNum;
    }

    public Integer getoStatus() {
        return oStatus;
    }

    public void setoStatus(Integer oStatus) {
        this.oStatus = oStatus;
    }

    public Integer getoAppraiseStatus() {
        return oAppraiseStatus;
    }

    public void setoAppraiseStatus(Integer oAppraiseStatus) {
        this.oAppraiseStatus = oAppraiseStatus;
    }

    public Integer getoUserId() {
        return oUserId;
    }

    public void setoUserId(Integer oUserId) {
        this.oUserId = oUserId;
    }

    public Date getoCreateTime() {
        return oCreateTime;
    }

    public void setoCreateTime(Date oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public Date getoPayTime() {
        return oPayTime;
    }

    public void setoPayTime(Date oPayTime) {
        this.oPayTime = oPayTime;
    }

    public String getoGoodId() {
        return oGoodId;
    }

    public void setoGoodId(String oGoodId) {
        this.oGoodId = oGoodId;
    }

    public String getoGoodImg() {
        return oGoodImg;
    }

    public void setoGoodImg(String oGoodImg) {
        this.oGoodImg = oGoodImg;
    }

    public String getoGoodTitle() {
        return oGoodTitle;
    }

    public void setoGoodTitle(String oGoodTitle) {
        this.oGoodTitle = oGoodTitle;
    }
}
